Update<T>(string,T,string) Method

Summary

Update an existing item in the cache.

Syntax
C#
VB
C++
public virtual bool Update<T>( 
   string key, 
   T value, 
   string regionName 
) 
Public Overridable Function Update(Of T)( 
   ByVal key As String, 
   ByVal value As T, 
   ByVal regionName As String 
) As Boolean 
public:  
   generic<typename T> 
   virtual bool Update( 
      String^ key, 
      T value, 
      String^ regionName 
   ) 

Parameters

key

Cache item key to delete.

value

Data for the cache item.

regionName

Optional region name.

Return Value

true if the item was updated; otherwise, false (if the item does not exist in the cache).

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.